package edu.scu.declaresys.dao;

import edu.scu.declaresys.dao.impl.AreaDAOImpl;
import edu.scu.declaresys.dao.impl.LoginLogDAOImpl;
import edu.scu.declaresys.dao.impl.MsgClassDAOImpl;
import edu.scu.declaresys.dao.impl.MsgDAOImpl;
import edu.scu.declaresys.dao.impl.NewsClassDAOImpl;
import edu.scu.declaresys.dao.impl.NewsDAOImpl;
import edu.scu.declaresys.dao.impl.ProjectClassDAOImpl;
import edu.scu.declaresys.dao.impl.ProjectDAOImpl;
import edu.scu.declaresys.dao.impl.SysLogDAOImpl;
import edu.scu.declaresys.dao.impl.UserDAOImpl;
import edu.scu.declaresys.dao.intr.IAreaDAO;
import edu.scu.declaresys.dao.intr.ILoginLogDAO;
import edu.scu.declaresys.dao.intr.IMsgClassDAO;
import edu.scu.declaresys.dao.intr.IMsgDAO;
import edu.scu.declaresys.dao.intr.INewsClassDAO;
import edu.scu.declaresys.dao.intr.INewsDAO;
import edu.scu.declaresys.dao.intr.IProjectClassDAO;
import edu.scu.declaresys.dao.intr.IProjectDAO;
import edu.scu.declaresys.dao.intr.ISysLogDAO;
import edu.scu.declaresys.dao.intr.IUserDAO;

/**
 * 
 * @author: zt
 * @since : 2013-7-4
 */
public class DAOFactory
{
	public static IAreaDAO createAreaDAO()
	{
		return new AreaDAOImpl();
	}

	
	public static ILoginLogDAO createLoginLogDAO()
	{
		return new LoginLogDAOImpl();
	}
	
	public static IMsgClassDAO createMsgClassDAO()
	{
		return new MsgClassDAOImpl();
	}
	
	public static IMsgDAO createMsgDAO()
	{
		return new MsgDAOImpl();
	}
	
	public static INewsClassDAO createNewsClassDAO()
	{
		return new NewsClassDAOImpl();
	}
	
	public static INewsDAO createNewsDAO()
	{
		return new NewsDAOImpl();
	}
	
	public static IProjectDAO createProjectDAO()
	{
		return new ProjectDAOImpl();
	}
	
	public static IProjectClassDAO createProjectClassDAO()
	{
		return new ProjectClassDAOImpl();
	}
	
	public static ISysLogDAO createSysLogDAO()
	{
		return new SysLogDAOImpl();
	}
	
	public static IUserDAO createUserDAO()
	{
		return new UserDAOImpl();
	}
	
}
